package com.yanfan.energy.domain.statist;

/**
 * @author caijinkang
 * @date 2022年12月13日 10:35
 */
public class UtilitiesStatistics {
    /**
     * 日期格式
     *
     * @author caijinkang
     * @date 2022/12/13 10:37
     * @param null
     * @return null
     */
    private String range;
    /**
     * 开始时间
     *
     * @author caijinkang
     * @date 2022/12/13 10:37
     * @param null
     * @return null
     */
    private String begin;
    /**
     * 结束时间
     *
     * @author caijinkang
     * @date 2022/12/13 10:37
     * @param null
     * @return null
     */
    private String end;
    /**
     * 单位：（0：能耗、1：费用）
     *
     * @author caijinkang
     * @date 2022/12/13 10:38
     * @param null
     * @return null
     */
    private String unit;
    /**
     * 类型（1：水、2：电、3：气）
     *
     * @author caijinkang
     * @date 2022/12/13 10:48
     * @param null
     * @return null
     */
    private Integer type;
    /**
     * 楼栋ID
     *
     * @author caijinkang
     * @date 2022/12/13 10:41
     * @param null
     * @return null
     */
    private Integer buildingId;
    /**
     * 车间ID
     *
     * @author caijinkang
     * @date 2022/12/13 10:41
     * @param null
     * @return null
     */
    private Integer workshopId;
    /**
     * 设备ID
     *
     * @author caijinkang
     * @date 2022/12/13 10:41
     * @param null
     * @return null
     */
    private Integer deviceId;
    /**
     * 当前页
     *
     * @author caijinkang
     * @date 2022/12/15 16:22
     * @param null
     * @return null
     */
    private Integer currPage;
    /**
     * 当前页条数
     *
     * @author caijinkang
     * @date 2022/12/15 16:22
     * @param null
     * @return null
     */
    private Integer pageSize;


    public UtilitiesStatistics() {
    }

    public UtilitiesStatistics(String range, String begin, String end, String unit, Integer type, Integer buildingId, Integer workshopId, Integer deviceId, Integer currPage, Integer pageSize) {
        this.range = range;
        this.begin = begin;
        this.end = end;
        this.unit = unit;
        this.type = type;
        this.buildingId = buildingId;
        this.workshopId = workshopId;
        this.deviceId = deviceId;
        this.currPage = currPage;
        this.pageSize = pageSize;
    }

    public String getRange() {
        return range;
    }

    public void setRange(String range) {
        this.range = range;
    }

    public String getBegin() {
        return begin;
    }

    public void setBegin(String begin) {
        this.begin = begin;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "UtilitiesStatistics{" + "range='" + range + '\'' + ", begin='" + begin + '\'' + ", end='" + end + '\'' + ", unit='" + unit + '\'' + ", type=" + type + ", buildingId=" + buildingId + ", workshopId=" + workshopId + ", deviceId=" + deviceId + ", currPage=" + currPage + ", pageSize=" + pageSize + '}';
    }
}
